package com.huabo.contract.service.impl;

import com.huabo.contract.config.DateBaseConfig;
import com.huabo.contract.oracle.mapper.TblLegalNegotiateeAttMapper;
import com.huabo.contract.service.TblLegalNegotiateeAttService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class TblLegalNegotiateeAttServiceImpl implements TblLegalNegotiateeAttService {


    @Resource
    private TblLegalNegotiateeAttMapper tblLegalNegotiateeAttMapper;

    @Override
    public void deleteRelation(String attid) {
        if(DateBaseConfig.DATABASETYPE.equals("Oracle")) {
            this.tblLegalNegotiateeAttMapper.deleteRelation(attid);
        } else {
            this.tblLegalNegotiateeAttMapper.deleteRelation(attid);
        }
    }
}
